<template>
	<view>
		<view class="" v-for="(item, index) in financeList" :key="index">
			<ListItem :title="item.real_name" details="details145" >
				<template #photo>
					<image src="../../../static/img/logo.png" mode="" style="width: 84rpx;height: 84rpx;"></image>
				</template>
				<template #vaule>
					<text style="color: #32BE4B;">+$245</text>
				</template>
			</ListItem>
		</view>
		<empty v-show="financeList.length==0"></empty>
	</view>
</template>

<script>
	import ListItem from '@/components/basicListItem/ShadowyListItem/ShadowyListItem.vue'
	import common from '@/api/common.js'
	export default {
		components:{
			ListItem
		},
		onLoad(option) {
			this.queryParams.cmsType=option.cmsType
			this.getList()
		},
		data() {
			return {
				financeList:[],
				queryParams: {
					listType:'all',
					cmsType:'',
					betweenTime:[]
				},
			}
		},
		methods: {
			getList(){
				common.getFinanceList(this.queryParams).then(res=>{
					this.financeList = res.data.list.data
				})
			}
		}
	}
</script>

<style>

</style>
